<?php

/**
 * Botenmarkt Front-end
 * 
 * LICENSE
 * 
 * Categories Class File
 *
 * @category    botenmarkt_front
 * @package     library
 * @subpackage  domainObjects
 * @author      valerii lazarevych <valeriy.fremar@gmail.com>
 * @copyright   Copyright(c) 2012 Fremar ltd, Ukraine.
 * @license     default
 * @version     $Id: Categories.php  Mar 23, 2012 10:37:14 AM
 */

/**
 * Categories Class
 * 
 * Represent sailing goods category
 */
class Categories_domainObject       extends domainObject
{
    /**
     * Category name
     * 
     * @var string
     */
    public      $name                   =       null;
    
    /**
     * Category short name - 2 chars code
     * 
     * @var string(2)
     */
    public      $acronim                =       null;
    
    /**
     * Category description
     * 
     * @var string
     */
    public      $description            =       null;
    
    /**
     * Order number of the category
     * 
     * @var int
     */
    public      $catOrder               =       null;
    
    /**
     * Category will be online or not?
     * 
     * @var bool
     */
    public      $catStatus              =       null;
    
    /**
     * Id for menu item that has bound to this category
     * 
     * @var int
     */
    public      $menuItem               =       null;
    
    /**
     * Step price for the category
     * 
     * @var int
     */
    public      $priceStep              =       null;
    
    /**
     * Limit number of ads publication
     * 
     * @var int
     */
    public      $adsLimit               =       null;
    
    /**
     * Should we shown type of the boat?
     * 
     * @var bool
     */
    public      $showBoattype           =       null;
    
    /**
     * Should we display some kind of type?
     * @var bool
     */
    public      $showType               =       null;
    
    /**
     * Can i see production year of the boat 
     * 
     * @var bool
     */
    public      $showYear               =       null;
    
    /**
     * Can i find information about  boat's length
     * 
     * @var bool
     */
    public      $showLength             =       null;
    
    /**
     * Will i see boat's width information
     * @var bool
     */
    public      $showWidth              =       null;
    
    /**
     * Will i find boat's depth information
     * 
     * @var bool
     */
    public      $showDepth              =       null;
    
    /**
     * Will information of the boat load capacity be visible
     * 
     * @var bool
     */
    public      $showLoadCapacity       =       null;
    
    /**
     * Would we display a description
     * 
     * @var bool
     */
    public      $showDescription        =       null;
    
    /**
     * Would we show material of the boat
     * 
     * @var bool
     */
    public      $showMaterial           =       null;
    
    /**
     * Will you see boat location
     * 
     * @var bool
     */
    public      $showLocation           =       null;
    
    /**
     * Show price of the boat or not?
     * 
     * @var bool
     */
    public      $showPrice              =       null;
    
    /**
     * Provide phone number to public view?
     * 
     * @var bool
     */
    public      $showPhone              =       null;
    
    /**
     * Provide the email address to public view?
     * 
     * @var bool
     */
    public      $showEmail              =       null;
    
    /**
     * Should keywords be image
     * 
     * @var bool
     */
    public      $showKeywords           =       null;
    
    /**
     * Need we post the brand of the boat online
     * 
     * @var bool
     */
    public      $showBrand              =       null;
    
    
    /**
     * Provide category name
     * 
     * @return string
     */
    public function catName()
    {
        return $this->name;
    }
    
    public function isVesselYearVisibile()
    {
        return $this->showYear;
    }
    
    public function isMaterialVisible()
    {
        return $this->showMaterial;
    }
    
    
    
}

